Skip to content

Conversation

@daibhin
Copy link
Contributor

@daibhin daibhin commented Nov 27, 2025

Problem

  • Removed the filters behind the collapse panel
  • Removed the card nesting to make it cleaner
  • Added the selected state back to the events table

Changes

Before After
Screenshot 2025-11-27 at 17 47 39 Screenshot 2025-11-27 at 17 46 27

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

// Click event is caught at the row level
return (
<div className="flex items-center">
<input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: missing name attribute on radio button prevents it from being part of a radio group

Prompt To Fix With AI
This is a comment left during a code review.
Path: products/error_tracking/frontend/components/EventsTable/EventsTable.tsx
Line: 85:85

Comment:
**logic:** missing `name` attribute on radio button prevents it from being part of a radio group

How can I resolve this? If you propose a fix, please make it concise.

Copilot finished reviewing on behalf of daibhin November 27, 2025 17:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Error Tracking Issue Scene UI to achieve a cleaner, full-width panel layout by removing nested cards and collapsible sections for filters.

Key Changes:

  • Removed the LemonCollapse component wrapping the filters, making them always visible
  • Removed card nesting in ExceptionCard by setting border and border-radius to none
  • Restored the selected state functionality in the EventsTable with a radio button column

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
ErrorTrackingIssueScene.tsx Restructured layout to use fragment wrapper, removed LemonCollapse import, moved filters out of collapsible panel, added selectedEvent state to EventsTable, adjusted spacing/padding
ExceptionCard.tsx Removed unused cn import, updated className to remove border and rounded corners for seamless integration
EventsTable.tsx Added selectedEvent prop, implemented radio button selection column with isEventSelected helper, enabled row click handling with stealth mode
DataSourceTable.tsx Added stealth prop type definition and forwarding to LemonTable for cleaner table styling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

// Click event is caught at the row level
return (
<div className="flex items-center">
<input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} />
Copy link

Copilot AI Nov 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The radio button should have a name attribute to group related radio buttons together. All radio buttons in this table should share the same name to ensure proper radio button behavior where only one can be selected at a time.

Additionally, the radio button lacks an accessible label. Consider adding an aria-label attribute for screen readers.

Suggested change
<input type="radio" className="cursor-pointer" checked={isEventSelected(record)} onChange={() => {}} />
<input
type="radio"
className="cursor-pointer"
checked={isEventSelected(record)}
onChange={() => {}}
name={`event-select-${queryKey}`}
aria-label={`Select event ${record.uuid}`}
/>

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 27, 2025

Size Change: 0 B

Total Size: 3.41 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 3.41 MB

compressed-size-action

Copy link
Contributor

@ablaszkiewicz ablaszkiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great change!

@daibhin daibhin changed the title full width panels chore: make replay UI full with and remove card style Nov 28, 2025
@daibhin daibhin changed the title chore: make replay UI full with and remove card style chore: make error tracking UI full with and remove card style Nov 28, 2025
@daibhin daibhin merged commit 6da71e7 into master Nov 28, 2025
141 of 142 checks passed
@daibhin daibhin deleted the dn-chore/full-width-panel branch November 28, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants